#include <iostream>
using namespace std;
int cadena (string &cadena1, string cadena2);
int main ()

{
    string cadena1, cadena2;
    cout << "Ingrese una cadena";
    cin >> cadena1;
    cout << "Ingrese otra cadena";
    cin >> cadena2;
    cout << cadena(cadena1, cadena2);
    cout << cadena1;

}

int cadena (string &cadena1, string cadena2)
{

    cadena1 = cadena1+cadena2;
    return cadena1.length();
}
